package com.duostec.zhuyue.pets.wxapi;

import android.os.Bundle;
import android.view.Window;

import com.activitycode.util.LogUtil;
import com.tencent.mm.sdk.modelbase.BaseReq;
import com.tencent.mm.sdk.modelbase.BaseResp;
import com.tencent.mm.sdk.openapi.IWXAPI;
import com.tencent.mm.sdk.openapi.WXAPIFactory;
import com.umeng.socialize.bean.SHARE_MEDIA;
import com.umeng.socialize.bean.SocializeEntity;
import com.umeng.socialize.controller.listener.SocializeListeners.SnsPostListener;
import com.umeng.socialize.weixin.view.WXCallbackActivity;

public class WXEntryActivity extends WXCallbackActivity implements SnsPostListener{

	private IWXAPI api;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		LogUtil.e("WX__onCreate");
		finish();
	}

	@Override
	public void onStart() {
		// TODO Auto-generated method stub
		super.onStart();
	}
	@Override
	public void onReq(BaseReq arg0) {
		// TODO Auto-generated method stub
		LogUtil.e("WX__onReq");
	}

	@Override
	public void onResp(BaseResp arg0) {
		// TODO Auto-generated method stub
		LogUtil.e("WX__onResp");
	}

	@Override
	public void onComplete(SHARE_MEDIA arg0, int arg1, SocializeEntity arg2) {
		// TODO Auto-generated method stub
		LogUtil.e("onComplete:"+arg1);
	}
	
}
